<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: ExampleDragDropItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_example_drag_drop_item.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_example_drag_drop_item-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ExampleDragDropItem Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ExampleDragDropItem:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_example_drag_drop_item.png" usemap="#ExampleDragDropItem_map" alt=""/>
  <map id="ExampleDragDropItem_map" name="ExampleDragDropItem_map">
<area href="class_u_i_drag_drop_item.html" title="UIDragDropItem is a base script for your own Drag & Drop operations. " alt="UIDragDropItem" shape="rect" coords="0,56,137,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afafb36f7a0d4556f453a98161cbaac20"><td class="memItemLeft" align="right" valign="top">GameObject&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_example_drag_drop_item.html#afafb36f7a0d4556f453a98161cbaac20">prefab</a></td></tr>
<tr class="memdesc:afafb36f7a0d4556f453a98161cbaac20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prefab object that will be instantiated on the DragDropSurface if it receives the OnDrop event.  <a href="#afafb36f7a0d4556f453a98161cbaac20">More...</a><br /></td></tr>
<tr class="separator:afafb36f7a0d4556f453a98161cbaac20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:a3fd2d60204d34a077c828d95cba6b66b inherit pub_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">Restriction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a3fd2d60204d34a077c828d95cba6b66b">restriction</a> = Restriction.None</td></tr>
<tr class="memdesc:a3fd2d60204d34a077c828d95cba6b66b inherit pub_attribs_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">What kind of restriction is applied to the drag &amp; drop logic before dragging is made possible.  <a href="#a3fd2d60204d34a077c828d95cba6b66b">More...</a><br /></td></tr>
<tr class="separator:a3fd2d60204d34a077c828d95cba6b66b inherit pub_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f2b932385227b727c2bafc2b0152ff inherit pub_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ac5f2b932385227b727c2bafc2b0152ff">cloneOnDrag</a> = false</td></tr>
<tr class="memdesc:ac5f2b932385227b727c2bafc2b0152ff inherit pub_attribs_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether a copy of the item will be dragged instead of the item itself.  <a href="#ac5f2b932385227b727c2bafc2b0152ff">More...</a><br /></td></tr>
<tr class="separator:ac5f2b932385227b727c2bafc2b0152ff inherit pub_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa31dc13c26d27ce8bb53a16c30b412a9 inherit pub_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#aa31dc13c26d27ce8bb53a16c30b412a9">pressAndHoldDelay</a> = 1f</td></tr>
<tr class="memdesc:aa31dc13c26d27ce8bb53a16c30b412a9 inherit pub_attribs_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">How long the user has to press on an item before the drag action activates.  <a href="#aa31dc13c26d27ce8bb53a16c30b412a9">More...</a><br /></td></tr>
<tr class="separator:aa31dc13c26d27ce8bb53a16c30b412a9 inherit pub_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af355b2325f570a95a2c74ac83301dfca inherit pub_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#af355b2325f570a95a2c74ac83301dfca">interactable</a> = true</td></tr>
<tr class="memdesc:af355b2325f570a95a2c74ac83301dfca inherit pub_attribs_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this drag and drop item can be interacted with. If not, only tooltips will work.  <a href="#af355b2325f570a95a2c74ac83301dfca">More...</a><br /></td></tr>
<tr class="separator:af355b2325f570a95a2c74ac83301dfca inherit pub_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af7d16806f3f8f4e96ec8b8034f38f71b"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_example_drag_drop_item.html#af7d16806f3f8f4e96ec8b8034f38f71b">OnDragDropRelease</a> (GameObject surface)</td></tr>
<tr class="memdesc:af7d16806f3f8f4e96ec8b8034f38f71b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drop a 3D game object onto the surface.  <a href="#af7d16806f3f8f4e96ec8b8034f38f71b">More...</a><br /></td></tr>
<tr class="separator:af7d16806f3f8f4e96ec8b8034f38f71b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:afeecb40af85baf8e68ab540f17b39182 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afeecb40af85baf8e68ab540f17b39182"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Awake</b> ()</td></tr>
<tr class="separator:afeecb40af85baf8e68ab540f17b39182 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc3a204fc2cac8675e8c514ffc41900 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdc3a204fc2cac8675e8c514ffc41900"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>OnEnable</b> ()</td></tr>
<tr class="separator:acdc3a204fc2cac8675e8c514ffc41900 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad952fb55fa15ebd3b641c275e8999db3 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad952fb55fa15ebd3b641c275e8999db3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>OnDisable</b> ()</td></tr>
<tr class="separator:ad952fb55fa15ebd3b641c275e8999db3 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50021b22c91eda99be3e3f494695c3b8 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a50021b22c91eda99be3e3f494695c3b8">Start</a> ()</td></tr>
<tr class="memdesc:a50021b22c91eda99be3e3f494695c3b8 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache the transform.  <a href="#a50021b22c91eda99be3e3f494695c3b8">More...</a><br /></td></tr>
<tr class="separator:a50021b22c91eda99be3e3f494695c3b8 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e118b392cd0d018719fcb9ebea957b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a9e118b392cd0d018719fcb9ebea957b5">OnPress</a> (bool isPressed)</td></tr>
<tr class="memdesc:a9e118b392cd0d018719fcb9ebea957b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Record the time the item was pressed on.  <a href="#a9e118b392cd0d018719fcb9ebea957b5">More...</a><br /></td></tr>
<tr class="separator:a9e118b392cd0d018719fcb9ebea957b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb9ab3a934f35b2b82363bed05078baf inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#adb9ab3a934f35b2b82363bed05078baf">Update</a> ()</td></tr>
<tr class="memdesc:adb9ab3a934f35b2b82363bed05078baf inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start the dragging operation after the item was held for a while.  <a href="#adb9ab3a934f35b2b82363bed05078baf">More...</a><br /></td></tr>
<tr class="separator:adb9ab3a934f35b2b82363bed05078baf inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9a52a154079bd895f115d80991e4b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#aca9a52a154079bd895f115d80991e4b5">OnDragStart</a> ()</td></tr>
<tr class="memdesc:aca9a52a154079bd895f115d80991e4b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start the dragging operation.  <a href="#aca9a52a154079bd895f115d80991e4b5">More...</a><br /></td></tr>
<tr class="separator:aca9a52a154079bd895f115d80991e4b5 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a6793f762b9752f6204424dc3d82b85 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8a6793f762b9752f6204424dc3d82b85">OnClone</a> (GameObject original)</td></tr>
<tr class="memdesc:a8a6793f762b9752f6204424dc3d82b85 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on the cloned object when it was duplicated.  <a href="#a8a6793f762b9752f6204424dc3d82b85">More...</a><br /></td></tr>
<tr class="separator:a8a6793f762b9752f6204424dc3d82b85 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5c9f2553d2106444abbcce7f801c2f inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8e5c9f2553d2106444abbcce7f801c2f">OnDrag</a> (Vector2 delta)</td></tr>
<tr class="memdesc:a8e5c9f2553d2106444abbcce7f801c2f inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform the dragging.  <a href="#a8e5c9f2553d2106444abbcce7f801c2f">More...</a><br /></td></tr>
<tr class="separator:a8e5c9f2553d2106444abbcce7f801c2f inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f9b2d81b50c45abd8cd094d8d67925 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a34f9b2d81b50c45abd8cd094d8d67925">OnDragEnd</a> ()</td></tr>
<tr class="memdesc:a34f9b2d81b50c45abd8cd094d8d67925 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notification sent when the drag event has ended.  <a href="#a34f9b2d81b50c45abd8cd094d8d67925">More...</a><br /></td></tr>
<tr class="separator:a34f9b2d81b50c45abd8cd094d8d67925 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3399e38adfb3e3bd56671d4cdfa8a0dc inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a3399e38adfb3e3bd56671d4cdfa8a0dc">OnDragDropStart</a> ()</td></tr>
<tr class="memdesc:a3399e38adfb3e3bd56671d4cdfa8a0dc inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform any logic related to starting the drag &amp; drop operation.  <a href="#a3399e38adfb3e3bd56671d4cdfa8a0dc">More...</a><br /></td></tr>
<tr class="separator:a3399e38adfb3e3bd56671d4cdfa8a0dc inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de806ba534800f564846ba82875a90b inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a6de806ba534800f564846ba82875a90b">OnDragDropMove</a> (Vector2 delta)</td></tr>
<tr class="memdesc:a6de806ba534800f564846ba82875a90b inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the dragged object's position.  <a href="#a6de806ba534800f564846ba82875a90b">More...</a><br /></td></tr>
<tr class="separator:a6de806ba534800f564846ba82875a90b inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b8e6881c6b94e0eb7ecff0748fcf30a inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a8b8e6881c6b94e0eb7ecff0748fcf30a">DestroySelf</a> ()</td></tr>
<tr class="memdesc:a8b8e6881c6b94e0eb7ecff0748fcf30a inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called at the end of OnDragDropRelease, indicating that the cloned object should now be destroyed.  <a href="#a8b8e6881c6b94e0eb7ecff0748fcf30a">More...</a><br /></td></tr>
<tr class="separator:a8b8e6881c6b94e0eb7ecff0748fcf30a inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2905f567696098d863ee963ff27f1429 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a2905f567696098d863ee963ff27f1429">OnDragDropEnd</a> ()</td></tr>
<tr class="memdesc:a2905f567696098d863ee963ff27f1429 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function called when the object gets reparented after the drop operation finishes.  <a href="#a2905f567696098d863ee963ff27f1429">More...</a><br /></td></tr>
<tr class="separator:a2905f567696098d863ee963ff27f1429 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52f9cb1780f11ac10518a70658086c29 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a52f9cb1780f11ac10518a70658086c29">EnableDragScrollView</a> ()</td></tr>
<tr class="memdesc:a52f9cb1780f11ac10518a70658086c29 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Re-enable the drag scroll view script at the end of the frame. Reason: <a href="http://www.tasharen.com/forum/index.php?topic=10203.0">http://www.tasharen.com/forum/index.php?topic=10203.0</a>  <a href="#a52f9cb1780f11ac10518a70658086c29">More...</a><br /></td></tr>
<tr class="separator:a52f9cb1780f11ac10518a70658086c29 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66cde238d1f1f2554159c306a75ec4c6 inherit pro_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a66cde238d1f1f2554159c306a75ec4c6">OnApplicationFocus</a> (bool focus)</td></tr>
<tr class="memdesc:a66cde238d1f1f2554159c306a75ec4c6 inherit pro_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application losing focus should cancel the dragging operation.  <a href="#a66cde238d1f1f2554159c306a75ec4c6">More...</a><br /></td></tr>
<tr class="separator:a66cde238d1f1f2554159c306a75ec4c6 inherit pro_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:affc7cc477a2a35b0cc7cc44ca8ba68d2 inherit pub_types_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affc7cc477a2a35b0cc7cc44ca8ba68d2"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Restriction</b> { <b>None</b>, 
<b>Horizontal</b>, 
<b>Vertical</b>, 
<b>PressAndHold</b>
 }</td></tr>
<tr class="separator:affc7cc477a2a35b0cc7cc44ca8ba68d2 inherit pub_types_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:afa7aa56283adc5b92601d49493982a58 inherit pub_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#afa7aa56283adc5b92601d49493982a58">StartDragging</a> ()</td></tr>
<tr class="memdesc:afa7aa56283adc5b92601d49493982a58 inherit pub_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start the dragging operation.  <a href="#afa7aa56283adc5b92601d49493982a58">More...</a><br /></td></tr>
<tr class="separator:afa7aa56283adc5b92601d49493982a58 inherit pub_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6660879759767ea9b73c6845b428c669 inherit pub_methods_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#a6660879759767ea9b73c6845b428c669">StopDragging</a> (GameObject go=null)</td></tr>
<tr class="memdesc:a6660879759767ea9b73c6845b428c669 inherit pub_methods_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drop the dragged item.  <a href="#a6660879759767ea9b73c6845b428c669">More...</a><br /></td></tr>
<tr class="separator:a6660879759767ea9b73c6845b428c669 inherit pub_methods_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:ad030083b0257e4e2e9610b6d24c4ab7f inherit pub_static_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top">static List&lt; <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_drop_item.html#ad030083b0257e4e2e9610b6d24c4ab7f">draggedItems</a> = new List&lt;<a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a>&gt;()</td></tr>
<tr class="memdesc:ad030083b0257e4e2e9610b6d24c4ab7f inherit pub_static_attribs_class_u_i_drag_drop_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of items that are currently being dragged.  <a href="#ad030083b0257e4e2e9610b6d24c4ab7f">More...</a><br /></td></tr>
<tr class="separator:ad030083b0257e4e2e9610b6d24c4ab7f inherit pub_static_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_u_i_drag_drop_item"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_u_i_drag_drop_item')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_u_i_drag_drop_item.html">UIDragDropItem</a></td></tr>
<tr class="memitem:afa2972fb77e76eee3cdc2e3b9eed9386 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa2972fb77e76eee3cdc2e3b9eed9386"></a>
Transform&#160;</td><td class="memItemRight" valign="bottom"><b>mTrans</b></td></tr>
<tr class="separator:afa2972fb77e76eee3cdc2e3b9eed9386 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16bc6b430d09f9cdfa97cf1095bbbfe1 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16bc6b430d09f9cdfa97cf1095bbbfe1"></a>
Transform&#160;</td><td class="memItemRight" valign="bottom"><b>mParent</b></td></tr>
<tr class="separator:a16bc6b430d09f9cdfa97cf1095bbbfe1 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5425512adc4ca9e54afe9d8891df538 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5425512adc4ca9e54afe9d8891df538"></a>
Collider&#160;</td><td class="memItemRight" valign="bottom"><b>mCollider</b></td></tr>
<tr class="separator:ac5425512adc4ca9e54afe9d8891df538 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8297aeb225a2f20065faee63c4f82e83 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8297aeb225a2f20065faee63c4f82e83"></a>
Collider2D&#160;</td><td class="memItemRight" valign="bottom"><b>mCollider2D</b></td></tr>
<tr class="separator:a8297aeb225a2f20065faee63c4f82e83 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a332a039e317d7eb2970dffb4b73c5e4c inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a332a039e317d7eb2970dffb4b73c5e4c"></a>
<a class="el" href="class_u_i_button.html">UIButton</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mButton</b></td></tr>
<tr class="separator:a332a039e317d7eb2970dffb4b73c5e4c inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721c24e2aa7683bc8ed357d68bfd7902 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a721c24e2aa7683bc8ed357d68bfd7902"></a>
<a class="el" href="class_u_i_root.html">UIRoot</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mRoot</b></td></tr>
<tr class="separator:a721c24e2aa7683bc8ed357d68bfd7902 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448c1647ef385e521efb12366d8738aa inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a448c1647ef385e521efb12366d8738aa"></a>
<a class="el" href="class_u_i_grid.html">UIGrid</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mGrid</b></td></tr>
<tr class="separator:a448c1647ef385e521efb12366d8738aa inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c5f422d181103482c3c2bcdf0d4f8a6 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c5f422d181103482c3c2bcdf0d4f8a6"></a>
<a class="el" href="class_u_i_table.html">UITable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mTable</b></td></tr>
<tr class="separator:a8c5f422d181103482c3c2bcdf0d4f8a6 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33357d15efcd4d1072c3ace96cf90296 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33357d15efcd4d1072c3ace96cf90296"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>mDragStartTime</b> = 0f</td></tr>
<tr class="separator:a33357d15efcd4d1072c3ace96cf90296 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9838cbd0ea100cd2ecf64a3e0555990 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9838cbd0ea100cd2ecf64a3e0555990"></a>
<a class="el" href="class_u_i_drag_scroll_view.html">UIDragScrollView</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mDragScrollView</b> = null</td></tr>
<tr class="separator:ae9838cbd0ea100cd2ecf64a3e0555990 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23499d1e70171d14848ad7ee987c27e inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab23499d1e70171d14848ad7ee987c27e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mPressed</b> = false</td></tr>
<tr class="separator:ab23499d1e70171d14848ad7ee987c27e inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd43e81ba91ec5226e9ec6b8122fd459 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd43e81ba91ec5226e9ec6b8122fd459"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mDragging</b> = false</td></tr>
<tr class="separator:abd43e81ba91ec5226e9ec6b8122fd459 inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca0d4697ef5fac6b083cd3faf5b782c inherit pro_attribs_class_u_i_drag_drop_item"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ca0d4697ef5fac6b083cd3faf5b782c"></a>
<a class="el" href="class_u_i_camera_1_1_mouse_or_touch.html">UICamera.MouseOrTouch</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mTouch</b></td></tr>
<tr class="separator:a4ca0d4697ef5fac6b083cd3faf5b782c inherit pro_attribs_class_u_i_drag_drop_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af7d16806f3f8f4e96ec8b8034f38f71b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void ExampleDragDropItem.OnDragDropRelease </td>
          <td>(</td>
          <td class="paramtype">GameObject&#160;</td>
          <td class="paramname"><em>surface</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drop a 3D game object onto the surface. </p>

<p>Reimplemented from <a class="el" href="class_u_i_drag_drop_item.html#ada1929c44db4091f1be83ea94e709b07">UIDragDropItem</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="afafb36f7a0d4556f453a98161cbaac20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GameObject ExampleDragDropItem.prefab</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prefab object that will be instantiated on the DragDropSurface if it receives the OnDrop event. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Examples/Scripts/Other/ExampleDragDropItem.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_example_drag_drop_item.html">ExampleDragDropItem</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:27 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
